#ifndef ADDDIALOG_H
#define ADDDIALOG_H

#include <QDialog>

#include <Qsci/qsciscintilla.h>

QT_BEGIN_NAMESPACE
class QLabel;
class QPushButton;
class QPlainTextEdit;
QT_END_NAMESPACE

class TexEdit : public QDialog{
    Q_OBJECT

public:
    TexEdit(QString, QWidget *parent = nullptr);
    void contentIn(const QString &);

private:
    QsciScintilla *texEdit;
    void setHighliter();
};

#endif // ADDDIALOG_H
